package com.diandian.backend.dingding.data.mapper;

import com.diandian.backend.dingding.data.domain.DingdingStaffSalaryOpenApi;
import com.diandian.backend.dingding.data.param.DingdingStaffSalaryPageOpenApiParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DingdingStaffSalaryOpenApiMapper {

    // 查询记录数
    Integer getCount(@Param("data") DingdingStaffSalaryPageOpenApiParam requestDTO);

    // 查询分页中的数据集合
    List<DingdingStaffSalaryOpenApi> getPage(@Param("data") DingdingStaffSalaryPageOpenApiParam requestDTO, @Param("pageSize") Integer pageSize, @Param("offset") Integer offset);

}